@import './common.scss';

.layout {
    .back {
        width: 35%;
        // height: 106px;
    }

    .list-box {
        margin-top: 1rem;
        margin-bottom: 0.2rem ;
        position: relative;
        width: 100%;
        height: 3.6rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        border: 0.03rem solid red;

        .title-img {
            width: 90%;
            margin: 0 auto;
            position: absolute;
            top: -1.1rem;
            left: 50%;
            transform: translateX(-50%);
        }

        .item-box {
            width: 100%;
            height: 90%;
            position: absolute;
            top: 10%;
            left: 0;
            overflow-y: scroll;
            -webkit-overflow-scrolling: touch;
            .item {
                display: flex;
                align-items: center;
                padding: 0 0.15rem;
                margin-bottom: 0.07rem;
                img {
                    width: 0.35rem;
                    height: 0.35rem;
                    border-radius: 50%;
                }
                .pic_icon {
                    width: 0.25rem;
                    height: 0.3rem;
                    margin-right: 0.07rem;
                }
                .ranking-text {
                    display: block;
                    width: 0.25rem;
                    text-align: center;
                    margin-right: 0.07rem;
                    font-size: 0.15rem;
                    color: red;
                    font-weight: bold;
                }
                
                span {
                    font-size: 0.12rem;
                    &:nth-of-type(2) {
                        display: inline-block;
                        text-align: center;
                        flex: 1;
                        margin: 0 0.1rem;
                    }

                    &:nth-of-type(3) {
                        display: inline-block;
                        color: red;
                        margin-left: auto;
                    }
                }

            }
        }
    }
}